//
//  LTUIManager.h
//  LTGameSDK
//
//  Created by admin on 2020/2/16.
//  Copyright © 2020 gnetop. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "LTLoginResponseModel.h"
#import "LTLoginManager.h"

NS_ASSUME_NONNULL_BEGIN
typedef void (^loginBlock)(LTLoginResponseModel *model);

@interface LTUIManager : NSObject
/// 创建单例
+ (instancetype)sharedInstance;
/// 弹出登录框
/// @param uc uc 父界面
/// @param block 登录结果回调，返回LTLoginResponseModel对象
/// @param isShow 是否显示游客按钮
- (void)showLoginUI:(UIViewController *)uc
           callback:(loginBlock)block
isShowGuestButton:(BOOL)isShow;
/// 切换账号，弹出登录框
/// @param uc 父界面
/// @param block 登录结果回调，返回LTLoginResponseModel对象
/// @param isShow 是否显示游客按钮
- (void)logoutWithUI:(UIViewController *)uc
            callback:(loginBlock)block
 isShowGuestButton:(BOOL)isShow;
@end

NS_ASSUME_NONNULL_END
